#学生类
class Student:
    def __init__(self,Student_number, name, age, gender, height, weight, grade, home_address, telephone_number):
        self.Student_number = Student_number
        self.Name = name
        self.Age = age
        self.Gender = gender
        self.Height = height
        self.Weight = weight
        self.Grade = grade
        self.Home_Address = home_address
        self.Telephone_Number = telephone_number
    def study(self,tudy_time):
            print(f'{self.Name}的学习时间是：{tudy_time}')
    def play(self,game_name):
            print(f'{self.Name}玩的游戏是{game_name}')
    def work(self,a):
            print(f'{self.Name}的编程行数是：{a}')
    def sum_a(self,a,b):
            return a+b
xiao=Student('01','xiao','18','男',
             '180','128',456,"aa","123456789009")
# xiao.study('10个小时')
# xiao.play('wadas')
# xiao.work(200)
# sum_b=xiao.sum_a(892,23)
# print(sum_b)


#车类
class car:
    def __init__(self,Vehicle_model, number_of_wheels, body_color, vehicle_weight, fuel_tank_storage_size):
        self.Vehicle_model = Vehicle_model
        self.number_of_wheels = number_of_wheels
        self.body_color = body_color
        self.vehicle_weight = vehicle_weight
        self.fuel_tank_storage_size = fuel_tank_storage_size
    def run(self,function,type):
        print(f"车辆的功能是：{function},车辆的车型号是：{self.Vehicle_model}")

#笔记本电脑类
class pc:
    def __init__(self,Model, standby_time, color, weight, cpu_model, memory_size, hard_disk_size):
        self.Model = Model
        self.standby_time = standby_time
        self.color = color
        self.weight = weight
        self.cpu_model = cpu_model
        self.memory_size = memory_size
        self.hard_disk_size = hard_disk_size
    def play_game(self,game_name):
        print(f"正在打的游戏是：{game_name}")

    def work(self):
        print("您正在办公！")

#猴子类
class monkey:
    def __init__(self,Gender, body_color, weight):
        self.Gender = Gender
        self.body_color = body_color
        self.weight = weight
    def make_fire (self,a):
        print(f"猴子正在使用{a}造火。")

    def study_monkey(self,a):
        s=[]
        while True:
            a=input("请输入学习的事物：")
            s.append(a)
            b=int(input("是否退出？0/1"))
            if b==0:
                break
            elif b==1:
                continue
        print(f'猴子学习的事物是：{a}')